package com.taxshare.operation.entity;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;

/**
    * @ClassName: CodeEntity
    * @Description: (码表)
    * @author liupp
    * @date 2021年1月27日
    *
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@TableName("t_operation_common_code_info")
public class CodeEntity extends BaseEntity implements Serializable {
	
	@TableId("uuid")
    private String uuid;

    //表的名称
    @TableField(value="collection_name",condition = SqlCondition.LIKE)
    private String collectionName;

    //是否级联 0 否 1级联
    @TableField("is_cascade")
    private String isCascade = "0";
    
    //描述
    @TableField(value="describes")
    private String describes;
    
    //如果是级联的话,目标集合的名称Code
    @TableField(value="cascade_collection")
    private String cascadeCollection;
    
}
